﻿var imglist = new Array();
//设置画面大小
var screenWidth = 800;
var screenHeight = 600;

function create_img(e) {
    //创建一张图片
    timg = new fstImage().Create(screenWidth / 5 + (150 * imglist.length), screenHeight / 2, 'images/bear_eyesclosed.png');
    imglist.push(timg);
}

//事件绑定
function bingevent() {
    $("#tbtn01").on("click", create_img);
}

function game_init() {
    //初始化引擎
    fengine_init(screenWidth, screenHeight);

    bingevent();
}

$(window).ready(function () {
    //初始化游戏
    //init();
});